//
//  ViewController2.swift
//  NewFeaturesDemo
//
//  Created by VEER on 2022/3/8.
//

import UIKit

class ViewController2: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        self.title = "我的"
        view.backgroundColor = UIColor.white
        // Do any additional setup after loading the view.
//        self.navigationItem.leftBarButtonItem = UIBarButtonItem(image: UIImage.back?.withTintColor(UIColor.black), style: .done, target: self, action: #selector(back))
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */
    @objc func back() {
        self.dismiss(animated: true, completion: nil)
    }

}
